#!/bin/bash

cd /usr/local/erlware

FAX_VSN=`ls release_packages/faxien`
echo "making bootstrap tarball for $FAX_VSN"

rm -f bin/*
rm -rf release_packages/faxien/$FAX_VSN/lib/
rm -rf erts
tar -zcf bootstrap.tar.gz bin lib log release_packages tmp
scp bootstrap.tar.gz metadrift.net:

cd -
